The Imagick class
PHP Manual

Imagick::getImagePixelColor

(PECL imagick 2.0.0)

Imagick::getImagePixelColorReturns the color of the specified pixel

Descripción

ImagickPixel Imagick::getImagePixelColor ( int $x , int $y )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Returns the color of the specified pixel.

Lista de parámetros

x

The x-coordinate of the pixel

y

The y-coordinate of the pixel

Valores retornados

Returns an ImagickPixel instance for the color at the coordinates given. Throw an ImagickException on error.

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual